package com.example.redisdemo.interfacer.impl;

import com.example.redisdemo.interfacer.UUIDSerial;
import org.springframework.stereotype.Service;

import java.util.UUID;

/**
 * @author hexinglin
 * @created 2021-08-10 16:28
 **/
public class UUIDGeneralSerial implements UUIDSerial {

    @Override
    public String uuid() {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
